import request from '@/utils/request'

export function feachList(data) {
  return request({
    url: '/admin/comment/list',
    method: 'post',
    data
  })
}

export function updateStatus(id) {
  return request({
    url: `/admin/comment/updateStatus/${id}`,
    method: 'patch'
  })
}

export function del(id) {
  return request({
    url: `/admin/comment/del/${id}`,
    method: 'delete'
  })
}
